package org.jeecg.modules.information.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: course
 * @Author: jeecg-boot
 * @Date:   2021-08-16
 * @Version: V1.0
 */
@Data
@TableName("course")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="course对象", description="course")
public class Course implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID,存UUID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID,存UUID")
    private String id;
	/**课程名称*/
	@Excel(name = "课程名称", width = 15)
    @ApiModelProperty(value = "课程名称")
    private String courseName;
	/**排序字段，数字越小排越前面*/
	@Excel(name = "排序字段，数字越小排越前面", width = 15)
    @ApiModelProperty(value = "排序字段，数字越小排越前面")
    private Integer courseOrder;
	/**所属分类*/
	@Excel(name = "所属分类", width = 15)
    @ApiModelProperty(value = "所属分类")
    private String courseTypeId;
	/**课程简介*/
	@Excel(name = "课程简介", width = 15)
    @ApiModelProperty(value = "课程简介")
    private String courseIntroduction;
	/**课程概述（富文本）*/
	@Excel(name = "课程概述（富文本）", width = 15)
    @ApiModelProperty(value = "课程概述（富文本）")
    private String courseSummary;
	/**课程主图*/
	@Excel(name = "课程主图", width = 15)
    @ApiModelProperty(value = "课程主图")
    private String coursePicture;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
